/**********************************************************************************************************************
 *
 * Project:    mGameEngine
 * File:       objloader.h
 * Author:     karooolek
 * Created on: 2010-04-11
 *
 **********************************************************************************************************************/

#ifndef OBJLOADER_H_
#define OBJLOADER_H_

#include "meshloader.h"
#include "material.h"
#include "imageloader.h"
#include "texturedmaterial.h"

namespace mGameEngine
{
namespace Graphics
{

/**
 * OBJ mesh file loader.
 */
class OBJLoader : public MeshLoader
{
private:

public:
    /**
     * Create OBJ mesh loader with no file name specified.
     */
    OBJLoader();

    /**
     * Create OBJ mesh file loader with specified file name.
     * @param filename OBJ mesh file name to load
     */
    OBJLoader(const String &filename);

    /**
     * Destroy OBJ mesh file loader.
     */
    ~OBJLoader();

    /**
     * Load mesh from OBJ file.
     */
    void load();
};

}
}

#endif // OBJLOADER_H_
